@import com.mgfireworks.mgplatform.mgadmin.stock.model.*
@extends("/form_template",title="修改初始库存")
@args Boolean isEdit
@args StockDetail stockDetail
<div class="x_content">
    <f_input name="stockId" text="库存编号" value="@stockDetail.getStockId()" readonly="readonly"></f_input>
    <f_input name="productId" text="产品编号" value="@stockDetail.getProductId()" readonly="readonly"></f_input>
    <f_input name="quantity" type="number" text="库存数" value="@stockDetail.getQuantity()"></f_input>
    <f_input name="price" text="价格" value="@stockDetail.getPrice()"></f_input>
    <f_radio name="online" text="是否上线" text1="是" value1="1" text2="否" value2="0" value="@stockDetail.getOnline()"></f_radio>
</div>